package com.hy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hy.common.Result;
import com.hy.entity.Weekly;

import java.util.List;


public interface SysWeeklyService {
    Result<Weekly> createWeekly(Weekly weekly);


    Result<Weekly> getWeeklyById(Long id);

    Result<Weekly> updateWeekly(Weekly weekly);

    Result<String> deleteWeekly(Long id);

    Result<IPage<Weekly>> getWeeklyPage(Integer pageNum, Integer pageSize,String title,Integer minLikes,Integer maxLikes);
}
